
package com.zsrt.day20170417.ch04;


import org.junit.Test;

import com.zsrt.utils.ArrayUtil;

public class AnimalDaoTest {
	
	@Test
	public void addAnimalTest() throws Exception {
		
		AnimalDao dao = new AnimalDaoImpl();
		
		AnimalShop huarun =new AnimalShop();
		Animal animal = new Animal("黑猫");
		
		
		boolean b = dao.addAnimal(huarun, animal);
		System.out.println(b);
		
		Animal[] lz = huarun.getLz();
		ArrayUtil.StudentEntity(lz);
		
		
	}

}
